﻿using Newtonsoft.Json;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace CheemsControl.Demo.ViewModels.Border
{
    public class FileDragDropBorderWindowViewModel : BindableBase
    {
        private string _message = "将文件拖放到这里";
        public string Message
        {
            get { return _message; }
            set { SetProperty(ref _message, value); }
        }

        private ObservableCollection<string> _source;
        public ObservableCollection<string> Source
        {
            get { return _source; }
            set 
            { 
                SetProperty(ref _source, value);
                MessageBox.Show(JsonConvert.SerializeObject(value));
            }
        }


    }
}
